package com.korion.learn.andriod_rust;

/**
 * @author chenyinying
 * @email chenyinying@bytedance.com
 * @date 2024/9/2
 */
public class JNIBridge {

    static {
        try {
            System.loadLibrary("rust_lib_demo");
        } catch (Throwable e) {
            e.printStackTrace();
        }
    }

    public static native int gen_random_num();

    public static native void dump_coverage(String path);
}
